<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      "use strict";
      function Info(username, age) {
        this.username = username;
        this.age = age;
        this.say = function () {
          console.log(this.name);
        };
      }
      const p1 = new Info("jack", 20);
      const p2 = new Info("lili", 21);
      const p3 = new Info("lucy", 22);
      console.log(p1, p2, p3);
    </script>
  </body>
</html>
